// copy constructor demo

# include <iostream>
using namespace std;

class MirrorMe {
	int hight, width, lenght;
public:
	MirrorMe();
  MirrorMe(int h, int w, int l);
  MirrorMe(const MirrorMe& me);
  void display();
};

MirrorMe::MirrorMe() {
	hight = 0;
  width = 0;
  lenght = 0;
}

MirrorMe::MirrorMe(int h, int w, int l) {
	hight = h;
  width = w;
  lenght = l;
}

MirrorMe::MirrorMe(const MirrorMe& me) {
  hight = me.hight;
  width = me.width;
  lenght = me.lenght;
}

void MirrorMe::display() {
	cout << "********************" << endl;
	cout << "Hight: " << hight << endl;
	cout << "Lenght: " << lenght << endl;
	cout << "Width: " << width << endl;
	cout << "********************" << endl;
}

int main() {
	int l, h, w;
	cout << "Enter lenght, width, hight" << endl;
	cin >> l >> w >> h;
	MirrorMe mm1, mm2(l,w,h), mm3(mm1), mm4(mm2);
	mm1.display();
	mm2.display();
	mm3.display();
	mm4.display();
}
